package com.neusoft.chanceserver.dto;

import com.neusoft.chanceserver.entity.Purchase;

public class PurchaseAdd {
    Integer chanceId;
    Purchase purchase;

    @Override
    public String toString() {
        return "PurchaseAdd{" +
                "chanceId=" + chanceId +
                ", purchase=" + purchase +
                '}';
    }

    public PurchaseAdd() {
    }

    public Integer getChanceId() {
        return chanceId;
    }

    public void setChanceId(Integer chanceId) {
        this.chanceId = chanceId;
    }

    public Purchase getPurchase() {
        return purchase;
    }

    public void setPurchase(Purchase purchase) {
        this.purchase = purchase;
    }

    public PurchaseAdd(Integer chanceId, Purchase purchase) {
        this.chanceId = chanceId;
        this.purchase = purchase;
    }
}
